package com.woniu.idearbac.mapper;


import com.woniu.idearbac.dto.DeptDto;
import com.woniu.idearbac.entity.SysDept;
import com.woniu.idearbac.vo.DeptVo;

import java.util.List;

/**
* @author King
* @description 针对表【sys_dept】的数据库操作Mapper
* @createDate 2022-11-25 16:39:08
* @Entity com.woniu.boot_rbac.entity.SysDept
*/
public interface SysDeptMapper {
    List<SysDept> selAllHome();
    SysDept selCount(Long id);
    List<DeptVo> selAll(DeptDto DeptDto);

    int deleteByPrimaryKey(Long id);

    int insert(SysDept record);

    int insertSelective(SysDept record);

    SysDept selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysDept record);

    int updateByPrimaryKey(SysDept record);

}
